package com.lz.autotest.project.testmanage.reportmanage.mapper;

import com.lz.autotest.project.testmanage.infmanage.domain.SstInf;
import com.lz.autotest.project.testmanage.reportmanage.domain.SstInfReport;
import com.lz.autotest.project.testmanage.reportmanage.domain.SstReportItem;

import java.util.List;
import java.util.Map;

/**
 * 部门管理 数据层
 *
 * @author lz
 */
public interface InfReportMapper
{
    public List<SstInfReport> queryInfReportList(SstInfReport sstInfReport);

    public int saveInfReport(SstInfReport sstInfReport);

    public int saveReport(SstInf sstInf);

    List<SstInfReport> queryAutoReportList(Map<String, Object> param);

    //获取单个线程报告
    List<SstReportItem> queryAutoReportItem(Map<String, Object> param);

    void deleteReport(List<String> ids);

    //删除单一线程报告
    void deleteReportItem(List<String> ids);

    void updateStatus(Map<String, Object> map);

    //保存单个线程报告
    public int saveInfReportItem(SstReportItem sstReportItem);

    List<SstReportItem> queryAutoReportItemList(List<SstInfReport> list);

    SstInfReport querySstInfReportById(String reportId);

    List<SstReportItem> queryReportItemByIds(List<String> ids);

    List<Map> getVersion(Map<String, Object> param);

    int updateTsstReport(Map<String, Object> param);

    List<SstInfReport> getReportByVersion(Map<String, Object> param);
}
